package com.million.base.annotations;

import java.lang.annotation.*;

/**
 * @Author miki
 * @Date 2022/1/22 1:32
 * @Explain 定义失效的策略
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Inherited
public @interface Eviction {
    /**
     * 描述
     * @return
     */
    String desc() default "";

    /**
     * 策略key
     * @return
     */
    String value() default "";
}
